import axios from 'axios'

axios.interceptors.request.use(config => {
  console.log(config.method, 'method---打印请求方式')
  return config
}, err => {
  console.log(err)
})

axios.interceptors.response.use(res => {
  console.log(res, '最原始res')
  return res.data
}, err => {
  return Promise.reject(err)
})

// export default axios
